//
//  IncomeListTableViewCell.m
//  PPDL
//
//  Created by 王洋 on 2019/7/24.
//  Copyright © 2019 王洋. All rights reserved.
//

#import "IncomeListTableViewCell.h"

@interface IncomeListTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *itemTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *itemTimeLab;
@property (weak, nonatomic) IBOutlet UILabel *itemIncomeLab;

@end

@implementation IncomeListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)fillCellWithModel:(IncomeListModel *)model {
    
    self.itemTimeLab.text = [NSString stringWithFormat:@"%@",model.itemTime];
    self.itemTitleLab.text = [NSString stringWithFormat:@"%@",model.itemTitle];
    self.itemIncomeLab.text  = [NSString stringWithFormat:@"%@元",[Utilities changeDoubleToString:model.itemIncome]];

}


@end
